<?php

/**
 * 
 *
 * @version $Id: admin_header.inc.php,v 1.6 2005/01/18 17:41:28 phppc Exp $
 * @copyright 2004 
 **/

$admin_links = "";
$second_nav = "";

// Admin-Header
$nav_array[] = "news"; // News erstellen
$nav_array[] = "start"; // Freischalten
$nav_array[] = "list_news"; // Alle News auflisten
$nav_array[] = "kats"; // Kategorien
$nav_array[] = "user_man"; // Usermanagement
$nav_array[] = "perm"; // Usergruppen
$nav_array[] = "style"; // Styles
$nav_array[] = "css"; // CSS
$nav_array[] = "images"; // Grafiken
$nav_array[] = "newsletter"; // Newsletter
$nav_array[] = "glossary"; // Woerterbuch
$nav_array[] = "conf"; // Allgemeine Einstellungen

$anzahl_links = count($nav_array);

if($this->module_config["admin_show_nav"] == 1) $admin_links = $this->uf_link_nav_creator($this->action,"admin_","action",$nav_array,$this->fun_make_link("admin.php","",1,array("action")),"admin_nav","admin_nav_one","aktiv","nc","","","admin/");
$logout_link = $this->fun_make_link("admin.php","action=logout");
$news_link = $this->fun_make_link("");
if($this->module_config["admin_show_second_nav"] == 1) { 
	$this->tpl_load("second_nav","admin/");
	$this->tpl_replace_vars(array("anzahl_links" => $anzahl_links,"logout_link" => $logout_link,"news_link" => $news_link));
	$second_nav = $this->tpl_output();
}

?>